from meiduo_admin.mypakge import *
from rest_framework import serializers
from goods.models import *

class IMAGE___ImageModelSerializer(serializers.ModelSerializer):

    class Meta:
        model = SKUImage
        fields = [
            'id',
            'sku',
            'image'
        ]

class IMAGE___ImageSkuSerializer(serializers.ModelSerializer):
    class Meta:
        model = SKU
        fields = [
            'id',
            'name'
        ]